package cn.itcast.service.test;

import static org.junit.Assert.*;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import cn.itcast.crm.service.CustomerService;
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations="classpath:applicationContext.xml")
public class Customertest {
	@Autowired
private CustomerService customerService;
	@Test
	public void testFindNoAssociationCustomers() {
		System.out.println(customerService.findNoAssociationCustomers());
	}

	@Test
	public void testFindHasAssociationFixedAreaCustomers() {
		System.out.println(customerService.findHasAssociationFixedAreaCustomers("1"));
	}

	@Test
	public void testAssociationCustomersToFixedArea() {
		System.out.println(1);
	}

}
